package view;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JLabel;
import java.awt.BorderLayout;
import javax.swing.JTabbedPane;
import java.awt.GridLayout;
import javax.swing.BoxLayout;
import java.awt.CardLayout;
import com.jgoodies.forms.layout.FormLayout;
import com.jgoodies.forms.layout.ColumnSpec;
import com.jgoodies.forms.layout.RowSpec;
import com.jgoodies.forms.factories.FormFactory;
import javax.swing.JTextField;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.LayoutStyle.ComponentPlacement;
import java.awt.Font;
import net.miginfocom.swing.MigLayout;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JList;
import javax.swing.JSpinner;
import javax.swing.JComboBox;
import javax.swing.JTextArea;
import javax.swing.JTable;
import javax.swing.JFormattedTextField;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.SwingConstants;
import javax.swing.ImageIcon;
import javax.swing.UIManager;
import java.awt.Color;
import java.awt.SystemColor;
import javax.swing.border.BevelBorder;
import javax.swing.table.DefaultTableModel;
import javax.swing.ListSelectionModel;
import javax.swing.JRadioButtonMenuItem;
import javax.swing.border.EtchedBorder;
import javax.swing.border.CompoundBorder;
import javax.swing.AbstractListModel;
import javax.swing.JScrollPane;
import javax.swing.DefaultComboBoxModel;

public class TelaNovoPedido {

	private JFrame frmPedidos;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					TelaNovoPedido window = new TelaNovoPedido();
					window.frmPedidos.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public TelaNovoPedido() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frmPedidos = new JFrame();
		frmPedidos.setResizable(false);
		frmPedidos.setTitle("GERENCIADOR DE PIZZARIA");
		frmPedidos.setBounds(100, 100, 1024, 700);
		frmPedidos.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frmPedidos.getContentPane().setLayout(null);
		
		JPanel panelReservado = new JPanel();
		panelReservado.setBackground(Color.WHITE);
		panelReservado.setBounds(206, 61, 800, 600);
		frmPedidos.getContentPane().add(panelReservado);
		panelReservado.setLayout(null);
		
		JPanel panelMenu = new JPanel();
		panelMenu.setBounds(10, 61, 186, 600);
		frmPedidos.getContentPane().add(panelMenu);
		panelMenu.setLayout(null);
		
		JButton btnClientes = new JButton("Clientes");
		btnClientes.setFont(new Font("Tahoma", Font.PLAIN, 14));
		btnClientes.setBounds(10, 111, 166, 100);
		panelMenu.add(btnClientes);
		
		JButton btnProdutos = new JButton("Produtos");
		btnProdutos.setFont(new Font("Tahoma", Font.PLAIN, 14));
		btnProdutos.setBounds(10, 211, 166, 100);
		panelMenu.add(btnProdutos);
		
		JButton btnAdministracao = new JButton("Administra\u00E7\u00E3o");
		btnAdministracao.setFont(new Font("Tahoma", Font.PLAIN, 14));
		btnAdministracao.setBounds(10, 311, 166, 100);
		panelMenu.add(btnAdministracao);
		
		JButton btnPedidos = new JButton("Pedidos");
		btnPedidos.setFont(new Font("Tahoma", Font.PLAIN, 14));
		btnPedidos.setBounds(10, 11, 166, 100);
		panelMenu.add(btnPedidos);
		
		JLabel lblUsuario = new JLabel("Usu\u00E1rio:");
		lblUsuario.setFont(new Font("Tahoma", Font.PLAIN, 14));
		lblUsuario.setHorizontalAlignment(SwingConstants.RIGHT);
		lblUsuario.setBounds(791, 11, 96, 14);
		frmPedidos.getContentPane().add(lblUsuario);
		
		JLabel lblNomeUsuario = new JLabel("Fulano");
		lblNomeUsuario.setFont(new Font("Tahoma", Font.PLAIN, 14));
		lblNomeUsuario.setBounds(897, 11, 109, 14);
		frmPedidos.getContentPane().add(lblNomeUsuario);
		
		JLabel lblSobre = new JLabel("Sobre");
		lblSobre.setFont(new Font("Tahoma", Font.PLAIN, 14));
		lblSobre.setBounds(547, 13, 46, 14);
		frmPedidos.getContentPane().add(lblSobre);
		
		JLabel lblAjuda = new JLabel("Ajuda");
		lblAjuda.setFont(new Font("Tahoma", Font.PLAIN, 14));
		lblAjuda.setBounds(632, 13, 46, 14);
		frmPedidos.getContentPane().add(lblAjuda);
		btnClientes.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
	}
	private static class __Tmp {
		private static void __tmp() {
			  javax.swing.JPanel __wbp_panel = new javax.swing.JPanel();
		}
	}
}
